package com.woniuxy.factory;

import com.woniuxy.entity.Chinese;
import com.woniuxy.entity.Jap;
import com.woniuxy.entity.Person;

public class StaticPersonFactory {

    public static Person createPerson(){
        return new Chinese();
    }

    public Person createJap() {
        return new Jap();
    }
}
